package com.ktwlsoft.archivemanage.payload.unitArchive;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotNull;
import java.time.Year;
import java.util.Date;
import java.util.List;

@ApiModel("室藏档案管理更新")
@Getter
@Setter
public class UnitArchiveManageUpdateRequest {

    /**业务编号(来自年度报送或手动添加)**/
    @ApiModelProperty("业务编号(来自年度报送或手动添加)")
    @NotNull
    private Long businessId;

    /**业务来源**/
    @ApiModelProperty("业务来源")
    @NotNull
    private String businessFrom;

    /**选择年份**/
    @ApiModelProperty("选择年份")
    @NotNull
    private Year writeDate;

    /**档案类型列表**/
    @ApiModelProperty("档案类型列表")
    private List<UnitArchivesUpdateRequest> archiveTypesList;
}
